import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState('user', ['userInfo'])
  },
  methods: {
    buttonControl (str) {
      return this.userInfo.roles.points.includes(str)
    }
  }
}
